from manim import *
from numpy import flip, insert

LV,QL,QH,JH='#75cfb8','#bbdfc8','#f0e5d8','#ffc478'

class p1(MovingCameraScene):
    def construct(self):
        # self.add(NumberPlane())
        # self.camera.frame.scale(0.7)
        c3=Circle(3)
        a,c,b,d=c3.point_from_proportion(0.1),c3.point_from_proportion(0.3),c3.point_from_proportion(0.5),c3.point_from_proportion(0.7)
        ab,cd=Line(a,b),Line(c,d)
        ac,bd=Line(a,c),Line(b,d)
        p=line_intersection(ab.get_start_and_end(),cd.get_start_and_end())
        self.add(c3,ab,cd,ac,bd,
            MathTex('A').next_to(a),
            MathTex('B').next_to(b,LEFT),
            MathTex('C').next_to(c,UP),
            MathTex('D').next_to(d,DOWN),
            MathTex('P').next_to(p,DR)
        )
        self.wait()